<extend name="Layout/ins_popup" />
<block name="content">
	<style>
		.popup .page-header {
			padding: 0px;
			margin: 0px;
			margin-bottom: 15px;
		}
	</style>
	<input type="hidden" name="ajax" id="ajax" value="1">
	<div class="popup-frame">
		<div class="popup-header">
			<div class="pull-left">
				<h1>签收情况</h1>
			</div>
			<div class="pull-right">
				<a id="btn_close" class="btn btn-return">关闭</a>
			</div>
		</div>
		<div class="popup-body" style="background:#Fff;" >
			<div class="popup-body-scroll">
				<div class="popup-content">
					<form method='post' id="form_data" name="form_data" enctype="multipart/form-data"   class=" layui-form">
						<input type="hidden" id="row_id" name="row_id" value="{$row_info['id']}">
						<input type="hidden" id="type" name="type" value="{$row_info['type']}">
						<input type="hidden" id="ajax" name="ajax" value="1">
						<input type="hidden" id="opmode" name="opmode" value="add">
						{:widget('page_header/sub',array('签收人员'))}
						<div class="ul-table border-bottom">
							<ul>
								<li class="thead">
									<span class="col-12 x1">部门</span>
									<span class="col-8 ">姓名</span>
									<span class="col-10">职位</span>
									<span class="col-12">签收时间</span>
								</li>
								<empty name="signed_user_info">
									<li class="no-data">
										没找到数据
									</li>
									<else/>
									<foreach name="signed_user_info" val="vo">
										<li class="tbody">
											<span class="col-12 x1">{$vo.dept_name}</span>
											<span class="col-8">{$vo.name}</span>
											<span class="col-10">{$vo.position_name}&nbsp;</span>
											<span class="col-12">{$sign_time[$vo['id']]|to_date|substr=0,16}&nbsp;</span>
										</li>
									</foreach>
								</if>
							</ul>
						</div>
						<hr/>
						{:widget('page_header/sub',array('未签收人员'))}
						<div class="ul-table border-bottom">
							<ul>
								<li class="thead" style="padding-left:10px">
									<span class="col-12">部门</span>
									<span class="col-8">姓名</span>
									<span class="col-10">职位</span>
								</li>
								<empty name="un_sign_user_info">
									<li class="no-data">
										没找到数据
									</li>
									<else/>
									<foreach name="un_sign_user_info" val="vo">
										<li class="tbody">
											<div class="pull-left">
												<span class="col-12">{$vo.dept_name}</span>
												<span class="col-8">{$vo.name}</span>
												<span class="col-10"> {$vo.position_name}&nbsp;</span>
											</div>
										</li>
									</foreach>
								</if>
							</ul>
						</div>
						>
					</form>
				</div>
			</div
		</div>
	</div>
</block>

<block name="js">
	<script type="text/javascript">
		var index = parent.layer.getFrameIndex(window.name);
		layui.use(['global'], function() {
			var $ = layui.jquery;

			$('#btn_close').click(function() {
				parent.layer.close(index);
			});
		});
	</script>
</block>
